PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Menu Manager >

Mac OS 8.5 Menu Manager Reference


Gestalt Selector for the Mac OS 8.5 Menu Manager

Before calling any Menu Manager functions, your application should pass the selector gestaltMenuMgrAttr to the Gestalt function to determine which Menu Manager functions are available.

enum {
    gestaltMenuMgrAttr      = 'menu',
    gestaltMenuMgrPresent   = 1
};

Constant descriptions

gestaltMenuMgrAttr
The Gestalt selector passed to determine what features of the Menu Manager are present. This selector is available with Mac OS 8.5 and later. Passing gestaltMenuMgrAttr produces a 32-bit value whose bits you should test to determine what Menu Manager functionality is available.
gestaltMenuMgrPresent
If the bit specified by this mask is set, the Menu Manager functionality for Appearance Manager 1.1 is available. This bit is set for Mac OS 8.5 and later.

© 1999 Apple Computer, Inc. — (Last Updated 19 Jan 99)